package com.otod.commons.auth;

import java.io.Serializable;
import java.util.Map;

/**
 * 用户类
 * @author jqiu
 */
public class SessionUserHolder implements Serializable {

	private static final long serialVersionUID = -89970565342524592L;

	/**
	 * 姓名
	 */
	private String userName;
	/**
	 * 用户名
	 */
	private String userNo;
	/**
	 * 角色号
	 */
	private String roleId = "";
	/**
	 * 角色名
	 */
	private String roleName = "";
	/**
	 * 角色编码
	 */
	private String roleNo = "";
	/**
	 * 机构id
	 */
	private String orgId = "";
	/**
	 * 机构号
	 */
	private String orgNo = "";
	/**
	 * 机构名
	 */
	private String orgName = "";
	/**
	 * 归属属机构上级机构编号
	 */
	private String parentOrgNo = "";
	/**
	 * 登陆IP
	 */
	private String loginIp;
	/**
	 * session号
	 */
	private String sessionId;
	/**
	 * 其它参数
	 */
	private Map<String,String> otherParam = null;
	
	
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	public String getLoginIp() {
		return loginIp;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public Map<String, String> getOtherParam() {
		return otherParam;
	}
	public void setOtherParam(Map<String, String> otherParam) {
		this.otherParam = otherParam;
	}
	public String getUserNo() {
		return userNo;
	}
	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}
	public String getOrgNo() {
		return orgNo;
	}
	public void setOrgNo(String orgNo) {
		this.orgNo = orgNo;
	}
	public String getParentOrgNo() {
		return parentOrgNo;
	}
	public void setParentOrgNo(String parentOrgNo) {
		this.parentOrgNo = parentOrgNo;
	}
	public String getRoleNo() {
		return roleNo;
	}
	public void setRoleNo(String roleNo) {
		this.roleNo = roleNo;
	}
	
	
}
